package com.cloud.job.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.api.domain.alarm.VehicleAlarm;
import com.cloud.api.domain.report.VehicleAlarmReport;
import com.cloud.api.domain.screen.VehicleBreakdown;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 杨斌
 * 2024-12-2024-12-26
 */
@Component
public interface VehicleAlarmMapper extends BaseMapper<VehicleAlarm> {

    List<VehicleBreakdown> selectBreakdowns();

    List<VehicleAlarmReport> exportMailAlarmReportList(@Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);
}
